package com.qf.clients;

import com.qf.pojo.respVo.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: 陌人不故
 * @Date: 2022/10/26/18:32
 */
@FeignClient(name = "qf-course",path = "/course",fallback = CourseClientsFallback.class)
public interface CourseClients {

    @RequestMapping("/findCourseByClassify")
    public BaseResp findCourseByClassify(@RequestParam("id") Integer id,
                                         @RequestParam("page") Integer page,
                                         @RequestParam("size") Integer size);
}
